package com.mysoft.gfyx.clue.service.impl;

import com.mysoft.framework.common.user.User;
import com.mysoft.framework.core.function.authorization.AuthenticationUser;
import com.mysoft.gfyx.clue.service.UserService;
import com.mysoft.sdk.context.core.ThreadContextHolder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class UserServiceImp implements UserService {

    public User userInfo() {
        return ThreadContextHolder.getInstance().get(AuthenticationUser.class);
    }
}
